namespace SimpleWebServices.Web.Mvc
{
    using System.Collections.Generic;
    using System.Web.Mvc;

    public sealed class StatelessTempDataProvider : ITempDataProvider
    {
        private static readonly IDictionary<string, object> _data = new Dictionary<string, object>();

        public IDictionary<string, object> LoadTempData(ControllerContext controllerContext)
        {
            return _data;
        }

        public void SaveTempData(ControllerContext controllerContext, IDictionary<string, object> values)
        {
        }
    }
}